<?php
namespace Forms\Validator;

use Pinenut\Form\Validator;

class ReferenceOneAction extends Validator
{
	protected $defaultErrorMessage = 'Empty value';

	protected function isValid($value, $params)
	{
		return isset($value['_ref'])&&!empty($value['_ref']);
	}
}